#include <stdio.h>
#include <string.h>
// int num = 10;

//类型重定义
typedef unsigned int uint32;

struct Stu
{
    char name[20];
    uint32 age;
    char gender;
    char address[100];
};

void print(struct Stu* ps){
    printf("Name: %s\n", ps->name);
    printf("Age: %u\n", ps->age);
    printf("Gender: %c\n", ps->gender);
    printf("Address: %s\n", ps->address);
}
struct Stu s = {"Tom", 18, 'M', "123 Main St"};

int main() {
    char i = 'a';
    char *p = &i;
    print(&s);
<<<<<<< HEAD
    printf("%s\n", s.name);
=======
    //printf("%s\n", s.name);
>>>>>>> bb7efd2fe74403128257cbb1e3c0ba2f785ca8b5
    return 0;
}
  